package cn.wintersun.baseweb.mapper;

import cn.wintersun.baseweb.dao.FileDate;
import cn.wintersun.baseweb.dao.Roles;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


@Mapper
public interface FileDateMapper extends BaseMapper<Roles> {


    List<FileDate> getFileData(Integer userId);

    void deleteFileData(@Param("fileName") String fileName);

    void saveFileData(FileDate fileDate);

    void updateFileData(FileDate fileDate);
}